Automatic Testing of Operation Invariance

نویسندگان

  • Tobias Gödderz
  • Janis Voigtländer
چکیده

We present an approach to automatically generating operation invariance tests for use with Haskell’s random testing framework QuickCheck. The motivation stems from a paper by Holdermans [8] which showed how to address certain shortcomings of straightforward testing of implementations of an abstract datatype. While effective, his solution requires extra generation work from the test engineer. Also, it may not even be doable if the person responsible for testing has no knowledge about, and program-level access to, the internals of the concrete datatype implementation under test. We propose and realize a refinement to Holdermans’ solution that improves on both aspects: Required operation invariance tests can be formulated even in ignorance of implementation internals, and can be automatically generated using Template Haskell.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An automatic test case generator for evaluating implementation of access control policies

One of the main requirements for providing software security is the enforcement of access control policies which aim to protect resources of the system against unauthorized accesses. Any error in the implementation of such policies may lead to undesirable outcomes. For testing the implementation of access control policies, it is preferred to use automated methods which are faster and more relia...

متن کامل

Optimizing Cost Function in Imperialist Competitive Algorithm for Path Coverage Problem in Software Testing

Search-based optimization methods have been used for software engineering activities such as software testing. In the field of software testing, search-based test data generation refers to application of meta-heuristic optimization methods to generate test data that cover the code space of a program. Automatic test data generation that can cover all the paths of software is known as a major cha...

متن کامل

Factorial Invariance Testing under Different Levels of Partial Loading Invariance within a Multiple Group Confirmatory Factor Analysis Model

Scalar invariance in factor models is important for comparing latent means. Little work has focused on invariance testing for other model parameters under various conditions. This simulation study assesses how partial factorial invariance influences invariance testing for model parameters. Type I error inflation and parameter bias were observed.

متن کامل

An Automatic Control System of the Blood Pressure of Patients Under Surgical Operation

We developed an automatic blood pressure control system to maintain the blood pressure of patients at a substantially low level during a surgical operation. The developed system discharges two functions, continuous feedback control of the mean arterial pressure (MAP) by a state-predictive servo controller and risk control based on the inference by fuzzy-like logics and rules using measured data...

متن کامل

Investigation of isomorph-invariance in liquid methane by molecular dynamics simulation

In this paper, isomorph invariance of liquid methane is investigated by means of constant-NVT molecular dynamics simulations. According to the data extracted from simulations, equilibrium fluctuations show strong correlation between potential energy U and virial W. We also generated isomorph state points and investigated invariance of certain thermodynamic, structural, and dynamical properties....

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014